package com.plat.api.entity.api;

import com.plat.api.sys.entity.BaseEntity;
import lombok.Data;
import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.Table;

import java.util.Date;

/**
 * author ss
 * createTime 2020/5/9
 * package ${com.plat.api.entity.cms}
 ***/
@Data
@Table(name = "plat_user")
public class UserEntity extends BaseEntity {
    @AutoID
    private Integer id;
    private String name;
    private String openId;
    private String email;
    private String phone;
    private String idNo;
    private String idFront;
    private String idBack;
    private Integer authStatus;
    private Date createTime;
    private Date authTime;
    private String wxHeadPhoto;
    private String nickname;
    private String password;
    private Integer type;
    private String userInfo;
    private Integer gender;//1是男 2是女 0是未知
    private String nowAddress;
    private String field;//所在领域
    private Integer hasAuth; //是否认证
    private Integer hasEdit;//信息已编辑过0未编辑1已编辑
    private Integer age;
    private String account;
    private String license;//营业执照
    private Long count;
    private Integer isAllowLive;//是否允许直播
    private Integer isAllowPublishLive;//是否允许发布直播
    private Integer hasLive;//允许发布直播
    private Integer hasYsp;//是否允许发布艺术品抢购
    private Integer hasMyWorld;//允许发布圈子
    private Integer isPauseUse;//是否暂替该用户使用小程序
    private String pauseMsg;//暂替使用信息
    private Integer authType;//认证类型
}
